package com.yuyou.tas.terminal.vo.ReqMU;

import com.yuyou.tas.terminal.vo.ReqMTBase;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class ClassReqVo extends ReqMTBase {

    @ApiModelProperty(value = "校区ID")
    private Long schoolId;

    @ApiModelProperty(value = "学期ID")
    private Long trimesterId;

    @ApiModelProperty(value = "年纪")
    private Long sectionId;

    @ApiModelProperty(value = "班型")
    private Long levelId;

    @NotNull(message="pageIndex不能为空")
    @Min(value = 0, message = "pageIndex必须大于0")
    @ApiModelProperty(value = "当前页", required = true)
    private Integer pageIndex;

    @NotNull(message="pageSize不能为空")
    @Min(value = 0, message = "pageSize必须大于0")
    @ApiModelProperty(value = "每页最大", required = true)
    private Integer pageSize;

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Long getTrimesterId() {
        return trimesterId;
    }

    public void setTrimesterId(Long trimesterId) {
        this.trimesterId = trimesterId;
    }

    public Long getSectionId() {
        return sectionId;
    }

    public void setSectionId(Long sectionId) {
        this.sectionId = sectionId;
    }

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
